<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Honeydew</title>
<!-- Jquery -->
<script src="http://code.jquery.com/jquery.js"></script>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
<link rel="stylesheet" href="//ajax.googleapis.com/ajax/libs/jqueryui/1.10.4/themes/smoothness/jquery-ui.css" />
<script src="//ajax.googleapis.com/ajax/libs/jqueryui/1.10.4/jquery-ui.min.js"></script>
<script src="${pageContext.request.contextPath}/js/jquery.blockUI.js"></script>
<script src="${pageContext.request.contextPath}/js/jquery.mask.js"></script>
<!-- carousel -->
<link href="${pageContext.request.contextPath}/css/carousel.css" rel="stylesheet" />
<!-- Bootstrap -->
<link href="${pageContext.request.contextPath}/bootstrap-3.1.1-dist/css/bootstrap.min.css" rel="stylesheet" media="screen" />
<script src="${pageContext.request.contextPath}/bootstrap-3.1.1-dist/js/bootstrap.min.js"></script>
<script src="http://twitter.github.com/bootstrap/assets/js/bootstrap-dropdown.js"></script>
<!-- responsive -->
<link href="${pageContext.request.contextPath}/css/bootstrap-responsive.css" rel="stylesheet" type="text/css">
<!-- holder -->
<script src="${pageContext.request.contextPath}/holder/holder.js"></script>
<!-- commons -->
<link href="${pageContext.request.contextPath}/css/commons.css" rel="stylesheet" />
<script src="${pageContext.request.contextPath}/js/shop.js"></script>

<!-- Shop -->
<script src="${pageContext.request.contextPath}/js/shop.js"></script>
</head>

<!-- body -->
<body>
<s:set var="theme" value="'simple'" scope="page" />
<s:form>
	<div class="container body-base">
		
		<table width="100%">
			<tr>
		    	<td>
		        	<!-- banner -->
		        	<s:include value="header.jsp" />
		        </td>
		    </tr>
		    <tr>
		    	<td>
		        	<!-- content -->
		            <br />
		            <table width="80%" align="center">
		            	<tr>
		                	<td width="10%" align="left" valign="top">
		                    	<img src="${pageContext.request.contextPath}/image/userInfor-01.jpg" width="200" height="73" />
		                    </td>
		                </tr>
		                <tr>
		                	<td width="20%" align="center" valign="top">
		                    	<s:include value="userInfor_link.jsp" />
		                    </td>
		                </tr>
		                <tr>
		                	<td width="80%">
		                    	<div class="row-fluid">
		                            <br />
		                            <table class="table table-condensed">
		                                <tr>
		                                    <th>#</th>
		                                    <th>訂單編號</th>
		                                    <th>最後處理日期</th>
		                                    <th>原因</th>
		                                    <th>金額</th>
		                                </tr>
		                                <s:if test="shoppingMoneyList != null">
		                                	<s:iterator value="shoppingMoneyList" status="st">
			                                	<tr>
				                                    <td>
				                                    	<s:property value="#st.index + 1" />
				                                    	<s:hidden value="%{Seqid}" />
				                                    </td>
				                                    <td>
				                                    	<s:property value="Ordernumber"/>
				                                    </td>
				                                    <td>
				                                    	<s:date name="Processdate" format="yyyy/mm/dd"/>
				                                    </td>
				                                    <td>
				                                    	<s:property value="Reason"/>
				                                    </td>
				                                    <td>
				                                    	<font class="font-price">
				                                    		<s:number name="Amount" type="currency" groupingUsed="true" maximumFractionDigits="3" minimumFractionDigits="3" />
			                                    		</font>
			                                    	</td>
				                                </tr>
			                                </s:iterator>
		                                </s:if>
		                            </table>
		                            <br />
		                        </div>
		                    </td>
		                </tr>
		            </table>
		        </td>
		    </tr>
		    <tr>
		    	<td>
		        	<!-- footer -->
		        	<s:include value="footer.jsp" />
		        </td>
		    </tr>
		    <tr>
		    	<td>
		        	<!-- copyright -->
		        	<s:include value="copyright.jsp" />
		        </td>
		    </tr>
		</table>
		
	</div>
</s:form>
</body>
</html>
